package com.itheima.mapper;

import com.itheima.domain.Course;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface CourseMapper {
    @Select("select c.* from stu_cr sc,course c where sc.cid= c.id and sc.sid=#{sid}")
    List<Course> findBySid(Integer sid);
}
